import 'package:flutter/material.dart';

class RowTest extends StatelessWidget{
  @override
  Widget build(Object context) {
    return Column(
      crossAxisAlignment: CrossAxisAlignment.start,
      children: [
        Row(
          mainAxisAlignment:MainAxisAlignment.center,
          // textDirection: TextDirection.rtl,
          // verticalDirection: VerticalDirection.down,
          // crossAxisAlignment: CrossAxisAlignment.start,
          
          children: [
            Text("hello world "),
            Text("I am Jack "),
            // ConstrainedBox(constraints: BoxConstraints(
            //   minWidth: 100,
            //   minHeight: 100,
              
            //   ),
            //   child:DecoratedBox(decoration: BoxDecoration(color: Colors.red))
            // )
          ],
        ),
        Row(
          mainAxisSize: MainAxisSize.min,
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            Text("hello world "),
            Text("I am Jack ")
          ],
        ),
        Row(
          mainAxisAlignment: MainAxisAlignment.end,
          textDirection: TextDirection.rtl,
          children: [
             Text("hello world "),
            Text("I am Jack ")
          ],
        ),
        Row(
          crossAxisAlignment: CrossAxisAlignment.start,
          verticalDirection: VerticalDirection.down,
          children: [
           Text(" hello world ", style: TextStyle(fontSize: 30.0),),
           Text(" I am Jack "),
          ],
        )
      ],

    );
  }

}